Behavioral Re ection in a Prototype-Based Language

نویسندگان

  • J. Malenfant
  • C. Dony
چکیده

In MCD92], we have contributed a reeective model for a prototype-based language based on the lookup apply re-ective introspection protocol. Here, we pursue this work by including a reiication of continuations. Hence, we provide continuations as rst-class objects and convert our previous protocol to handle them. First-class continuations provide much more control over the current computation. Also, this new model establishes the clear link between reeection in object-oriented and reeective towers as exampliied by 3-Lisp Smi84]. Object-orientedness provides reeection a more principled and encapsulated programming style, making it easier to use. In this paper, we establish the correctness of this new model, namely that any message in the system will be executed in a nite number of computation steps. This fact is based on a limited number of hypothesis independent from the implementation but from which we derive fundamental clues to derive an evaluator for the language. 1 Introduction Reeection, understood as the construction of self-awared systems, is a persistent source of challenge. The mere feeling of touching the essence of computing, but also the tremendous potential for new applications insure a continuous quest for understanding its foundations. The goal of this paper is to propose and study in depth a minimal model of behav-ioral reeection for a prototype-based language. Object-oriented programming is dominated by the class and metaclass approach that provides it a highly satisfactory solution to the problem of structural reeection, which is concerned by the complete reiication of data structures and programs as rst class entities. The problem of behavioral reeection, concerned by the reiication of objects' execution, is not established on similar rm grounds yet.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Openjit|a Re Blockinective Java Jit Compiler | Short Version for the Oopsla'98 Re Blockinection Workshop |

The so-called `Open Compilers' is a technique to incorporate various self-descriptive modules for language customization and optimization based on computational re ection. We apply the open compiler technique to a Java Just-In-Time compiler to develop the OpenJIT compiler, which allows class-speci c customization and optimization, fostering research of new compilation techniques such as applica...

متن کامل

Experiments with Reeective Middleware

Middleware platforms have emerged as an e ective answer to the requirements of open distributed pro cessing Existing standards however lack the in gredient of responsiveness in face of the constantly evolving needs of application areas such as groupware multimedia and mobile computing In our opinion to meet the needs of such applications new approaches to the engineering of middleware platforms...

متن کامل

Javassist | A Re ection-based Programming Wizard for Java

This paper presents the Javassist system, which is a programming tool for assisting Java programmers. It enables programmers to write a meta-level program automating some kinds of class de nitions. Moreover, a number of applications of runtime re ection can be implemented with this system.

متن کامل

Re ection on a Legacy Transaction Processing Monitor

In this paper we describe our experience applying the concepts of re ection to a legacy transaction processing (TP) monitor in order to support the implementation of extended transaction models. In the past ten years, numerous extended transaction models have been proposed to address challenges posed by new advanced applications. Few practical implementations of these extended transaction model...

متن کامل

Inference and re ection in the object - centered representation language

This paper explains the inference and re ection capabilities of NOOS, an object-centered representation language designed to integrate problem solving and learning. Problem solving and learning in NOOS are modelled by means of concepts, tasks, methods and metalevels. Metalevels allow NOOS to reason own problem solving. Using metalevels, NOOS can reason about preferences in order to make decisio...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007